package com.generator.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.data.relational.core.mapping.Table;

import java.util.Date;

@Data
@TableName("miao_user")
public class UserEntity {
    @TableId(type = IdType.NONE)
    private Long id;
    private String username;
    private String password;
    private String nickname;
    private String headsUrl;
    private String email;
    private Long baiduId;
    private Long giteeId;
    private Date birthday;
    private String sign;
    private String realName;
    private Integer isAdmin;
    private Integer reminder;
}
